﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SWDataDB.Models
{
    //岩心岩屑,其实为钻孔表
    public class YX_TBL
    {
        #region ===所有变量===
        private int ID;
/*        private string FILE_ID;             //外键档号*/
        private string ZK_CODE;             //钻孔编号
        private string KT_LCODE;            //勘探线号
        private int    ZK_LONGITUDE;        //地理坐标经度
        private int    ZK_LATITUDE;         //地理坐标纬度
        private float  ZK_X;                //直角坐标X
        private float  ZK_Y;                //直角坐标Y
        private float ZK_H;                //直角坐标H  
        private float ZK_DEPTH;            //实际孔深
        private float ZK_CORELEN;          //钻取岩心长度
        private float GC_CORELEN;          //馆藏岩心长度
        private int    ZKYX_COUNT;          //钻取岩屑数量
        private int    GCYX_COUNT;          //馆藏岩屑数量
        private byte[] IMAGE;               //影像
        private string START_DATE;        //开孔日期
        private string END_DATE;          //终孔日期

        //外键
        private string ZL_FILE_ID;             //档    号

        #endregion

        #region ===所有属性===
        public int O_ID
        {
            get
            {
                return this.ID;
            }
            set
            {
                this.ID = value;
            }
        }

        public string O_ZK_CODE
        {
            get
            {
                return this.ZK_CODE;
            }
            set
            {
                this.ZK_CODE = value;
            }
        }

//         public string O_ZK_CODE
//         {
//             get
//             {
//                 return this.ZK_CODE;
//             }
//             set
//             {
//                 this.ZK_CODE = value;
//             }
//         }

        public string O_KT_LCODE
        {
            get
            {
                return this.KT_LCODE;
            }
            set
            {
                this.KT_LCODE = value;
            }
        }

        public int O_ZK_LONGITUDE
        {
            get
            {
                return this.ZK_LONGITUDE;
            }
            set
            {
                this.ZK_LONGITUDE = value;
            }
        }

        public int O_ZK_LATITUDE
        {
            get
            {
                return this.ZK_LATITUDE;
            }
            set
            {
                this.ZK_LATITUDE = value;
            }
        }

        public float O_ZK_X
        {
            get
            {
                return this.ZK_X;
            }
            set
            {
                this.ZK_X = value;
            }
        }

        public float O_ZK_Y
        {
            get
            {
                return this.ZK_Y;
            }
            set
            {
                this.ZK_Y = value;
            }
        }

        public float O_ZK_H
        {
            get
            {
                return this.ZK_H;
            }
            set
            {
                this.ZK_H = value;
            }
        }

        public float O_ZK_DEPTH
        {
            get
            {
                return this.ZK_DEPTH;
            }
            set
            {
                this.ZK_DEPTH = value;
            }
        }

        public float O_ZK_CORELEN
        {
            get
            {
                return this.ZK_CORELEN;
            }
            set
            {
                this.ZK_CORELEN = value;
            }
        }

        public float O_GC_CORELEN
        {
            get
            {
                return this.GC_CORELEN;
            }
            set
            {
                this.GC_CORELEN = value;
            }
        }

        public int O_ZKYX_COUNT
        {
            get
            {
                return this.ZKYX_COUNT;
            }
            set
            {
                this.ZKYX_COUNT = value;
            }
        }

        public int O_GCYX_COUNT
        {
            get
            {
                return this.GCYX_COUNT;
            }
            set
            {
                this.GCYX_COUNT = value;
            }
        }

        public byte[] O_IMAGE
        {
            get
            {
                return this.IMAGE;
            }
            set
            {
                this.IMAGE = value;
            }
        }

        public string O_START_DATE
        {
            get
            {
                return this.START_DATE;
            }
            set
            {
                this.START_DATE = value;
            }
        }

        public string O_END_DATE
        {
            get
            {
                return this.END_DATE;
            }
            set
            {
                this.END_DATE = value;
            }
        }

        public string O_ZL_FILE_ID
        {
            get
            {
                return this.ZL_FILE_ID;
            }
            set
            {
                this.ZL_FILE_ID = value;
            }
        }

        #endregion
    }
}
